package com.maikobi.maikobi.constant;

/**
 * BI 模块相关的 RabbitMQ 配置常量
 * @author: Maiko7
 * @create: 2025-07-17 13:24
 */
public interface BiMqConstant {

    // 正常队列交换机、队列、路由键
    String BI_EXCHANGE_NAME = "bi.exchange";
    String BI_QUEUE_NAME = "bi.queue";
    String BI_ROUTING_KEY = "bi.routingKey";

    // 死信队列交换机、队列、路由键
    String BI_DEAD_EXCHANGE_NAME = "bi.dead.exchange";
    String BI_DEAD_QUEUE_NAME = "bi.dead.queue";
    String BI_DEAD_ROUTING_KEY = "bi.dead.routingKey";

    // 消息 TTL，单位：毫秒（20分钟）
    int BI_MESSAGE_TTL =  20 * 60 * 1000;
}
